package tmi.li.testapp;

import android.app.Activity;
import android.os.Bundle;

public class Test extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Widget widget = new Widget(getBaseContext());
        widget._id = 10;
        widget._flcolor = "#FF363636";
        widget._ftcolor = "#FF000000";
        widget._fbcolor = "#FFFFFFFF";
        widget._bcolor = "#55000000";
        widget.save();
        widget.logWidget();
        widget._current = "10";
        widget._desc ="MOSTLY";
        widget._desc2 = "CLDY";
        widget.update();
        widget.logWidget();
        
        widget = null;
        widget = new Widget(getBaseContext());
        widget.load(10);
        widget._current = "5";
        widget._desc = "snow";
        widget._desc2 = "";
        widget.logWidget();
        
        
    }
}